#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <string.h>
void leftMove(char arr[], int k)
{
	int i = 0;
	int len = strlen(arr);
	for (i = 0; i < k; i++)
	{
		char tmp = arr[0];
		for (int j = 0; j < len - 1; j++)
		{
			arr[j] = arr[j + 1];
		}
		arr[len - 1] = tmp;
	}
}
int main()
{
	char a[] = "ABCD";
	int sz = sizeof(a) / sizeof(a[0]);
	leftMove(a, 1);
	for (int i = 0; i < sz; i++)
	{
		putchar(a[i]);
	}
	return 0;
}